﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ucUserInfo.ascx.cs"
    Inherits="ExpertMIS.Forums.UserControl.ucUserInfo" %>
<%@ Register Src="ucSearchBar.ascx" TagName="ucSearchBar" TagPrefix="uc1" %>
<%@ Register Src="ucSearchResult.ascx" TagName="ucSearchResult" TagPrefix="uc2" %>
<style type="text/css">
    .tableHeader
    {
        width: 100px;
        height: 25px;
        line-height: 25px;
        vertical-align: middle;
        float: right;
        text-align: center;
        background-image: url('../../imgs/UserInfoBtn.png');
        background-position: left top;
        background-repeat: repeat;
        margin-top: 4px;
        border: solid 1px #096499;
        cursor: pointer;
    }
    .col1
    {
        text-align: left;
        padding-left: 4px;
        height:25px;
    }
    td
    {
        text-align: left;
    }
</style>

<script type="text/javascript">
    var currentPage = null;
    $(document).ready(function() {
        currentPage = $('#UserInfo');
    });

    function showPage(id) {
        if (currentPage != null) {
            currentPage.hide();
        }
        currentPage = $('#' + id);
        if (currentPage != null) {
            currentPage.show();
        }
    }
</script>

<div style="width: 690px; height: 650px">
    <div style="height: 30px; text-align: right; font-size: 12pt; font-family: 宋体; color: #096499;
        font-size: 10pt;">
        <div style="width: 5px; height: 25px; float: right;">
        </div>
        <div class="tableHeader" onclick="showPage('AppraiseRecord');">
            评价记录
        </div>
        <div style="width: 5px; float: right;">
        </div>
        <div class="tableHeader" onclick="showPage('AnswerRecord');">
            回答记录
        </div>
        <div style="width: 5px; float: right;">
        </div>
        <div class="tableHeader" onclick="showPage('UserInfo');">
            基本信息
        </div>
    </div>
    <div style="border: solid 1px #096499">
        <div id="UserInfo" style="font-size: 10pt; font-family: 宋体">
            <div style="height: 20px; text-align: left; padding-top: 6px; vertical-align: bottom;
                background-color: #D8E8F8;">
                【个人资料】</div>
            <div style="height: 9px; background-image: url('../../imgs/userinfo_point.png')">
            </div>
            <table style="height: 99px; width: 100%; font-size: 10pt; font-family: 宋体" class="col2">
                <tr>
                    <td class="col1" style="width: 10%;">
                        姓名：
                    </td>
                    <td class="col1" style="width: 20%;">
                        <asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
                    </td>
                    <td class="col1" style="width: 10%;">
                        电子邮箱：</td>
                    <td class="col1" style="width: 60%;">
                        <asp:HyperLink runat="server" ID="hlEMail"></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td class="col1" style="width: 105px;">
                        电话：</td>
                    <td class="col1" style="width: 145px;">
                        <asp:Label runat="server" ID="lblPhone"></asp:Label></td>
                    <td class="col1" style="width: 121px;">
                        职务职称：</td>
                    <td class="col1" style="width: 65%;">
                        <asp:Label runat="server" ID="lblPosition"></asp:Label></td>
                </tr>
                <tr>
                    <td class="col1" style="width: 105px;">
                        专业领域：
                    </td>
                    <td class="col1" style="width: 145px;">
                        <asp:Label runat="server" ID="lblDomains" Style="height: auto;">
                        </asp:Label>
                    </td>
                    <td class="col1" style="width: 121px;">
                    </td>
                    <td class="col1" style="width: 65%; height: 25px; text-align: left;">
                        &nbsp;<asp:Label ID="lblBirthday" runat="server" Visible="false" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <td class="col1" style="width: 105px;">
                        专业特长：
                    </td>
                    <td class="col1" colspan="3" style="width: 90%;">
                        <asp:Label runat="server" ID="lblMajor"></asp:Label>
                    </td>
                </tr>
            </table>
            <div style="height: 20px;">
            </div>
            <div style="height: 20px; text-align: left; padding-top: 6px; vertical-align: bottom;
                background-color: #D8E8F8;">
                【获得的荣誉及奖项】</div>
            <div style="height: 1px; background-image: url('../../imgs/userinfo_point.png')">
            </div>
            <div style="height: 162px; width: 98%; text-align: left; padding-left: 8px; padding-right: 8px;
                line-height: 20px;">
                <asp:Label runat="server" ID="lblAward">
                </asp:Label>
            </div>
            <div style="height: 20px">
            </div>
            <div style="height: 24px; text-align: left; padding-top: 6px; vertical-align: bottom;
                background-color: #D8E8F8;">
                【回答明细】</div>
            <div style="height: 9px; background-image: url('../../imgs/userinfo_point.png')">
            </div>
            <table style="height: 20px; width: 100%; font-size: 10pt; font-family: 宋体">
                <tr>
                    <td style="width: 100px;" class="style1">
                        回答明细:
                    </td>
                    <td style="width: 130px;">
                        <asp:Label ID="lblReplyCount" runat="server" Font-Bold="True" ForeColor="Red" Text="152"></asp:Label>
                    </td>
                    <td style="width: 100px;" class="style1">
                        被采纳数:
                    </td>
                    <td style="width: 130px;">
                        <asp:Label ID="lblAcceptCount" runat="server" Font-Bold="True" ForeColor="Red" Text="120"></asp:Label>
                    </td>
                    <td style="width: 100px;" class="style1">
                        回答采访率：
                    </td>
                    <td style="width: 130px;">
                        <asp:Label ID="lblAcceptRate" runat="server" Font-Bold="True" ForeColor="Red" Text="80%"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <div id="AnswerRecord" style="display: none;">
            <uc2:ucSearchResult ID="ucSearchResult1" runat="server" />
        </div>
        <div id="AppraiseRecord" style="display: none;">
        </div>
    </div>
</div>
